package cn.com.dashboard.dao;

import cn.com.dashboard.entity.ZrRules;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author jiaming
 */
@Repository
public interface ZrRulesMapper {

    void insert(ZrRules rules);

    int updateByPrimaryKey(ZrRules rules);

    ZrRules selectByPrimaryKey(Integer id);

    void deleteByPrimaryKey(Integer id);

    List<ZrRules> selectAll();

    List<ZrRules> selectRulesList(ZrRules rules);

}